export const indexData = {
  columns: [
    { label: '任务号', prop: 'id' },
    { label: '任务名称', prop: 'name' },
    { label: '任务内容', prop: 'content' },
    { label: '任务状态', prop: 'status' },
    { label: '创建时间', prop: 'time' },
    { label: '办理时限', prop: 'times' },
    { label: '完成时间', prop: '' },
    { label: '备注', prop: '' },
  ],
  tableData: [
    { id: 2020100111, name: '菜东家-抽样', content: '苹果-抽检', status: '进行中', time: '2024/11/29', times: '2024/11/29', },
    { id: 2020100112, name: '菜东家-抽样', content: '苹果-抽检', status: '进行中', time: '2024/11/29', times: '2024/11/30', },
    { id: 2020100113, name: '菜东家-抽样', content: '苹果-抽检', status: '进行中', time: '2024/11/29', times: '2024/12/1', },
    { id: 2020100114, name: '菜东家-抽样', content: '苹果-抽检', status: '进行中', time: '2024/11/30', times: '2024/12/2', },
    { id: 2020100115, name: '菜东家-抽样', content: '苹果-抽检', status: '进行中', time: '2024/12/1', times: '2024/12/3', },
    { id: 2020100116, name: '菜东家-抽样', content: '苹果-抽检', status: '进行中', time: '2024/12/2', times: '2024/12/4', },
    { id: 2020100117, name: '菜东家-抽样', content: '苹果-抽检', status: '进行中', time: '2024/12/3', times: '2024/12/5', },
    { id: 2020100118, name: '菜东家-抽样', content: '苹果-抽检', status: '进行中', time: '2024/12/4', times: '2024/12/6', },
    { id: 2020100119, name: '希望小学-抽样',  content: '大米-抽检', status: '进行中', time: '2024/12/5', times: '2024/12/7', },
    { id: 2020100120, name: '希望小学-抽样', content: '大米-抽检', status: '进行中', time: '2024/12/6', times: '2024/12/8', },
    { id: 2020100121, name: '希望小学-抽样', content: '大米-抽检', status: '进行中', time: '2024/12/7', times: '2024/12/9', },
    { id: 2020100122, name: '希望小学-抽样', content: '大米-抽检', status: '进行中', time: '2024/12/8', times: '2024/12/10', },
    { id: 2020100123, name: '希望小学-抽样', content: '大米-抽检', status: '进行中', time: '2024/12/9', times: '2024/12/11', },
    { id: 2020100124, name: '希望小学-抽样', content: '大米-抽检', status: '进行中', time: '2024/12/10', times: '2024/12/12', },
    { id: 2020100125, name: '蔬东坡-抽样', content: '蔬菜-抽检', status: '进行中', time: '2024/12/11', times: '2024/12/13', },
    { id: 2020100126, name: '蔬东坡-抽样', content: '蔬菜-抽检', status: '进行中', time: '2024/12/12', times: '2024/12/14', },
    { id: 2020100127, name: '蔬东坡-抽样', content: '蔬菜-抽检', status: '进行中', time: '2024/12/13', times: '2024/12/15', },
    { id: 2020100128, name: '蔬东坡-抽样', content: '蔬菜-抽检', status: '进行中', time: '2024/12/14', times: '2024/12/16', },
  ],
  formList: [
    { label: '供应商名称', placeholder: '供应商名称', value: 'company_name', type: 'input' },
    { label: '申请日期', placeholder: '请选择申请日期', value: 'end_time', type: 'date' },
    { label: '联系人', placeholder: '联系人', value: 'real_name', type: 'input' },
  ],
  formValue: {
    company_name: '',
    end_time: '',
    real_name: '',
  },
  tabsList: [
    { label: '全部', num: 2000, name: 'all', key: 'all_total' },
    { label: '代办', num: 1600, name: '0', key: 'audit_total' },
    { label: '已办', num: 20, name: '1', key: 'pass_total' },
    { label: '到期/预期', num: 20, name: '2', key: 'refuse_total' },
  ]
}

export const detailData = {
  infoList: [
    { title: '用户资料', list: [
      { label: '机构名称', value: '', key: 'company_name', span: 6 },
      { label: '公司地址', value: '', key: 'company_address', span: 6 },
      { label: '联系人', value: '', key: 'real_name', span: 6 },
      { label: '手机号', value: '', key: 'mobile', span: 6 },
      // { label: '经营品类', value: '', key: '', span: 6 },
      { label: '注册时间', value: '', key: 'register_time', span: 6 },
      { label: '申请人', value: '', key: 'apply_name', span: 6 },
      { label: '申请日期', value: '', key: 'apply_time', span: 6 },
      // { label: '用户状态', value: '', key: '', span: 6 },
      { label: '审核意见', value: '', key: 'audit_remark', span: 6 },
      // { label: '备注', value: '', key: '', span: 6 },
    ] },
    { title: '管理员信息', list: [
      { label: '姓名', value: '', key: 'real_name', span: 6 },
      { label: '身份证号码', value: '', key: 'id_card_no', span: 6 },
      { label: '证件有效期', value: '', key: 'id_card_start_date', key2: 'id_card_end_date', span: 6 },
      { label: '身份证照片', value: '', key: '', span: 16, imageList: ['id_card_front', 'id_card_back'] },
    ] },
    { title: '法人信息', list: [
      { label: '姓名', value: '', key: 'corporation_real_name', span: 6 },
      { label: '身份证号码', value: '', key: 'corporation_id_card_no', span: 6 },
      { label: '证件有效期', value: '', key: 'corporation_id_card_start_date', key2:'corporation_id_card_end_date', span: 6 },
      { label: '身份证照片', value: '', key: '', span: 16, imageList: ['corporation_id_card_front', 'corporation_id_card_back'] },
    ] },
    { title: '食品经营许可证', list: [
      { label: '证件编号', value: '', key: 'license_no', span: 6 },
      { label: '社会统一信用代码', value: '', key: 'license_code', span: 6 },
      { label: '法定代表人', value: '', key: 'license_corporation', span: 6 },
      { label: '证件有效期', value: '', key: 'license_date', span: 6 },
      { label: '证件照', value: '', key: '', span: 16, imageList: ['license'] },
    ] },
    { title: '健康证', list: [
      { label: '证件编号', value: '', key: 'health_card_no', span: 6 },
      { label: '姓名', value: '', key: 'health_card_real_name', span: 6 },
      { label: '证件有效期', value: '', key: 'health_date', span: 6 },
      { label: '证件照', value: '', key: '', span: 16, imageList: ['health_card'] },
    ] },
    { title: '中标通知书/合同', list: [
      { label: '中标/合同编号', value: '', key: 'contract_no', span: 6 },
      { label: '中标主体', value: '', key: 'school_name', span: 6 },
      { label: '中标日期', value: '', key: 'contract_date', span: 6 },
      { label: '证件照', value: '', key: '', span: 16, imageList: ['contract'] },
    ] }
  ]
}
